﻿using LimaLims.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Application.Service.Tenant.Dto
{
    public class TenantInput
    {
        public long Id { get; set; }
        public bool ValidStatus { get; set; }
    }

    public class PageTenantInput : PageInputBase
    {
        
    }

    public class AddTenantInput 
    {
        public long Id { get; set; }
        /// <summary>
        /// 租户名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 管理员姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 管理员账号
        /// </summary>
        public string AdminName { get; set; }

        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 有效性
        /// </summary>
        public bool ValidStatus { get; set; }

        /// <summary>
        /// 备注描述
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 密码。注册使用
        /// </summary>
        public string Password { get; set; }
    }

    public class UpdateTenantInput : AddTenantInput
    {
        public long UserId { get; set; }
    }

    public class DeleteTenantInput 
    {
        public long Id { get; set; }
    }
}
